<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="validate.jsp"%>
<%
    msg = HospitalToken.validateToken(input);
    errcode = msg.getErrcode();
    if (errcode != 0) {
        msg.put("data", Collections.EMPTY_MAP);
        Tools.encryptPrint(out, msg);
        return;
    }
    HospitalToken token = (HospitalToken)msg.get("token");

    msg = new Message();
    msg.put("data", Collections.EMPTY_MAP);
    hospital = input.getInt("hospital", -1); // 医院id
    act = input.getDesc("act", "list"); // 访问类型
    parameters = input.getParameters(); // 解密后的参数
%>
